#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stddef.h>
struct S
{
	char c1;
	int a;
	char c2;
};
int main()
{
	printf("%d\n", offsetof(struct S,c1));
	printf("%d\n", offsetof(struct S, a));

	return 0;
}